package io.qytc.jboot.entity;

import lombok.Data;

import java.util.List;

@Data
public class CustomerAreaTree {
    private String id;
    private String pid;
    private String name;
    private Integer level;
    private String icon;
    private boolean open = true;
    private boolean checked = false;
    private boolean chkDisabled = false;
    private List<CustomerAreaTree> children;

    public void checked() {
        this.checked = true;
    }

    public void chkDisabled() { this.chkDisabled = true; }
}
